


**** Benchmark -  alternative resource measures 
 

use "Temp/Master_5yr.dta" , clear
 *drop if year<1900

 
eststo clear 

	gen oil_exporter=1 if   oil_resource_s >0.33
	replace oil_exporter=0 if oil_exporter==.

	gen l1_P_ind_total_f_realshare=l.P_ind_total_f_realshare


// Benchmark  
 eststo m1: reghdfe dtax_non_trade_real       libdem_extra_vdem    l1.gov_change l1.civ_war_all_PRIO  l1.int_war_all_PRIO	   S_g5_unw_alliance_abs   cr_market_accessXBOEinv X_* l1.drought_affected_merged	P_ind_total_f_realshare, absorb(year iso_n) cluster(  iso_n)


// excluding large exporters 
 eststo m2: reghdfe dtax_non_trade_real       libdem_extra_vdem    l1.gov_change l1.civ_war_all_PRIO  l1.int_war_all_PRIO	   S_g5_unw_alliance_abs   cr_market_accessXBOEinv X_* l1.drought_affected_merged	c.P_ind_total_f_realshare##i.large_exporter  , absorb(year iso_n) cluster(  iso_n)
 margins  large_exporter   , dydx(P_ind_total_f_realshare)   

 // excluding large exporters (lag)
 eststo m3: reghdfe dtax_non_trade_real       libdem_extra_vdem    l1.gov_change l1.civ_war_all_PRIO  l1.int_war_all_PRIO	   S_g5_unw_alliance_abs   cr_market_accessXBOEinv X_* l1.drought_affected_merged	c.l1_P_ind_total_f_realshare##i.large_exporter  , absorb(year iso_n) cluster(  iso_n)
 margins  large_exporter   , dydx(l1_P_ind_total_f_realshare)   
 
 // oil only, 33% cut-off
 eststo m4: reghdfe dtax_non_trade_real       libdem_extra_vdem    l1.gov_change l1.civ_war_all_PRIO  l1.int_war_all_PRIO	   S_g5_unw_alliance_abs   cr_market_accessXBOEinv X_* l1.drought_affected_merged	 c.P_ind_total_f_realshare##i.oil_exporter  , absorb(year iso_n) cluster(  iso_n)
 margins  oil_exporter   , dydx(P_ind_total_f_realshare)   

 
// oil only, 33% cut-off (lag)
 eststo m5: reghdfe dtax_non_trade_real       libdem_extra_vdem    l1.gov_change l1.civ_war_all_PRIO  l1.int_war_all_PRIO	   S_g5_unw_alliance_abs   cr_market_accessXBOEinv X_* l1.drought_affected_merged	 c.l1_P_ind_total_f_realshare##i.oil_exporter  , absorb(year iso_n) cluster(  iso_n)
 margins  oil_exporter   , dydx(l1_P_ind_total_f_realshare)   

 
 
// before 1960 
eststo m6: reghdfe dtax_non_trade_real       libdem_extra_vdem    l1.gov_change l1.civ_war_all_PRIO  l1.int_war_all_PRIO	   S_g5_unw_alliance_abs   cr_market_accessXBOEinv X_* l1.drought_affected_merged	P_ind_total_f_realshare if year < 1957, absorb(year iso_n) cluster(  iso_n)

  
//  after 1960
 eststo m7: reghdfe dtax_non_trade_real       libdem_extra_vdem    l1.gov_change l1.civ_war_all_PRIO  l1.int_war_all_PRIO	   S_g5_unw_alliance_abs   cr_market_accessXBOEinv X_* l1.drought_affected_merged	P_ind_total_f_realshare if year >= 1957, absorb(year iso_n) cluster(  iso_n)
 
   
 
  

  
estout m1 m2 m3 m4 m5  m6   m7    using "Output/Tables/Appendix/APP_TAB_5_6.rtf", replace style(tex) cells(b(star fmt(2)) se(par fmt(2))) stats(r2_a N F, fmt(%9.2f %9.0g)) legend label varlabels(_cons constant) starlevels(* 0.1 ** 0.05 *** 0.01)
estout m1 m2 m3 m4 m5  m6   m7      using "Output/Tables/Appendix/APP_TAB_5_6.tex", replace style(tex) cells(b(star fmt(2)) se(par fmt(2))) stats(r2_a N F, fmt(%9.2f %9.0g)) legend label varlabels(_cons constant) starlevels(* 0.1 ** 0.05 *** 0.01)

  
  
